<template>
	<view>
		<uni-popup ref="MyPopup" background-color="#fff" @change="change" style="bor">
			<view class="popup-content" style="width: 250px;">
				<uni-list>
					<uni-list-item :clickable="true" class="menu-item" @click="edit">
						<template v-slot:body>
							<view style="width: 100%;" class="menu-item-box">
								编辑
							</view>
						</template>
					</uni-list-item>
					<uni-list-item :clickable="true" class="menu-item" @click="del">
						<template v-slot:body>
							<view style="width: 100%;color: #FF5A5F;" class="menu-item-box">
								删除
							</view>
						</template>
					</uni-list-item>
					<uni-list-item :clickable="true" class="menu-item"@click="closepopup">
						<template v-slot:body>
							<view style="width: 100%;" class="menu-item-box" >
								返回
							</view>
						</template>
					</uni-list-item>
				</uni-list>
			</view>
		</uni-popup>
	</view>
</template>

<script>
	export default {
		name:"MyPopup",
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.menu-item-box{
		width: 100%;
		text-align: center;
		align-items: center;
	}
	.menu-item{
		width: 100%;
	}
	.menu-item-box{
		width: 100%;
		text-align: center;
		align-items: center;
	}
</style>
